package NET.webserviceX.www;

import java.io.ObjectInputStream.GetField;
import java.rmi.RemoteException;
import java.util.Set;

import javax.swing.JOptionPane;

public class main {

	public static void main(String[] args) {
		GlobalWeatherSoapProxy tiempo = new GlobalWeatherSoapProxy();
		try {
			//String ciudad=JOptionPane.showInputDialog("ingrese ciudad");
			JOptionPane.showMessageDialog(null,tiempo.getWeather("TEMUCO", "CHILE"));
		} catch (RemoteException e) {
			System.out.println("ERROR");
		}
	}

}
